#ifndef ADMIN_H
#define ADMIN_H

#include <QMainWindow>
#include <QString>
#include<QSqlDatabase>
#include "connectsqlite.h"
#include"forma.h"
#include"changeainfo.h"
#include"formakaoqin.h"
#include"formnew.h"
#include<QProcess>



namespace Ui {
class Admin;
}

class Admin : public QMainWindow
{
    Q_OBJECT

public:
    explicit Admin(QWidget *parent = 0);
    ~Admin();
      void selectBoxSlot(QString A);
       void showsaw();
// QString &getdata();
QString A1;

signals:
      void signalsadmin();
//      void signalrevdata(QString data);

public slots:
      void slotforma();
      void slotchangeainfo();
      void slotformakaoqin();
     void slotformnew();


private slots:
      void on_pb_forgetpswd_clicked();

      void on_pb_modifyinfo_clicked();

      void on_pb_kaoqin_clicked();

      void on_pb_holiday_clicked();

      void on_pb_rememberface_clicked();

private:
    Ui::Admin *ui;
    ConnectSQLite connectsqliteA;

    changeainfo  *changea_infoAW;
    FormA *formAW;
    FormAkaoqin *formakaoqinAW;
    Formnew *formnewW;
    QProcess pronew;


};

#endif // ADMIN_H
